#ifndef wireles_H_
#define wireles_H_

	/*includes*/
#include<p30f4011.h>
#include <stdio.h>
//#include <delays.h>
#include <string.h>
#include<uart.h>

	/*defines*/
#define RXBUF_MAX 100
#define Fcy 30000000 

#define _BV(bit) (1 << (bit))
#define bit_is_set(register,bit) (register & (1 << (bit)))
#define bit_is_clear(register,bit) (!(register & (1 << (bit)))) 

void __attribute__((__interrupt__)) _U1RXInterrupt(void);
void InitUART(void);
void putU1(int c1);

#endif
